﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class Products : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        string nsx = Request.QueryString["nsx"];
        string nhom = Request.QueryString["nhom"];
        if (nsx==null && nhom==null)
        {
            UC_SP_TheoNSX1.Visible = false;
            UC_SP_TheoNSX1.Dispose();
            UC_SP_TheoNhom1.Visible = false;
            UC_SP_TheoNhom1.Dispose();
           
        }
        else if (nsx == null && nhom != null)
        {
            UC_SP_TheoNSX1.Visible = false;
            UC_SP_TheoNSX1.Dispose();
            Products1.Visible = false;
            Products1.Dispose();
            
        }
        else if (nsx != null && nhom == null)
        {
            UC_SP_TheoNhom1.Visible = false;
            UC_SP_TheoNhom1.Dispose();
            Products1.Visible = false;
            Products1.Dispose();
        }
       
        
        
    }
}